package com.ope.common.utils;

import lombok.Data;

@Data
public class ReportAlarmConfig {
    private Integer id;

    private String fileDesc;

    private String fileNameExpression;

    private String fileCronExpression;

    private Integer delaySecond;

    private String fileDir;

    private Integer status;

    private String remark;

    private String fileMark;

    public ReportAlarmConfig() {
    }

    public ReportAlarmConfig(Integer id, String fileDesc, String fileNameExpression, String fileCronExpression,
                             Integer delaySecond, String fileDir, Integer status, String remark,String fileMark) {
        this.id = id;
        this.fileDesc = fileDesc;
        this.fileNameExpression = fileNameExpression;
        this.fileCronExpression = fileCronExpression;
        this.delaySecond = delaySecond;
        this.fileDir = fileDir;
        this.status = status;
        this.remark = remark;
        this.fileMark = fileMark;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFileDesc() {
        return fileDesc;
    }

    public void setFileDesc(String fileDesc) {
        this.fileDesc = fileDesc;
    }

    public String getFileNameExpression() {
        return fileNameExpression;
    }

    public void setFileNameExpression(String fileNameExpression) {
        this.fileNameExpression = fileNameExpression;
    }

    public String getFileCronExpression() {
        return fileCronExpression;
    }

    public void setFileCronExpression(String fileCronExpression) {
        this.fileCronExpression = fileCronExpression;
    }

    public Integer getDelaySecond() {
        return delaySecond;
    }

    public void setDelaySecond(Integer delaySecond) {
        this.delaySecond = delaySecond;
    }

    public String getFileDir() {
        return fileDir;
    }

    public void setFileDir(String fileDir) {
        this.fileDir = fileDir;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getFileMark() {
        return fileMark;
    }

    public void setFileMark(String fileMark) {
        this.fileMark = fileMark;
    }

    @Override
    public String toString() {
        return "ReportAlarmConfig{"
                + "id=" + id
                + ", fileDesc='" + fileDesc + '\''
                + ", fileNameExpression='" + fileNameExpression + '\''
                + ", fileCronExpression='" + fileCronExpression + '\''
                + ", delaySecond=" + delaySecond
                + ", fileDir='" + fileDir + '\''
                + ", status=" + status
                + ", remark='" + remark + '\''
                + ", fileMark" + fileMark + '\''
                + '}';
    }
}
